package arrarylist;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-04-25
 * Time: 11:22
 */
public class Test01 {
    public static void main(String[] args) {
        MyArraryList arr = new MyArraryList();
        for (int i = 0; i < 4; i++) {
            arr.addRear(i);
        }
        arr.display();
        arr.addpos(4,999);
        arr.addpos(5,999);
        arr.remove(0);
        arr.display();

    }

}
